@extends('layouts.'.getTheme())
@section('title','编辑档案')
@section('css')
<link href="{{asset(getThemeAssets('css/toastr.min.css'))}}" rel="stylesheet">
<style type="text/css">
    .widget .row span{
      font-size: 15px;
      font-weight: bold;
    }
    .p-md{
        padding-top: 6px;
        padding-bottom: 0px;
        margin-top: 0px;
        margin-bottom: 30px;
    }
    .m-b-md{
        padding-top: 3px;
    }
    .page-heading{
        padding-bottom: 2px;
    }
    .alert{
        /*padding-bottom: 0px;*/
        padding-left: 23px;
        padding-right: 23px;
        margin-bottom: 0px;
    }
    .alert p{
        font-size: 14px;
        font-weight: 12px;
    }
    .alert a{
        text-decoration: underline;
    }
    .canceled{
        margin: 0;
        padding: 0;
    }
    #login-form {
        margin-top: 30px;
    }
    #login-form img{
        width: 100%;
        margin-left: 0;
    }
    #footerrow {
      margin-top: 100px;
    }
    .col-sm-6 {
      padding: 3px;
    }
</style>
@endsection
@section('content')

<div class="row wrapper border-bottom page-heading">
  <div class="col-sm-10">
    <h2>{!!trans('archives.title')!!}</h2>
    <ol class="breadcrumb">
        <li>
            <a href="{{url('admin')}}">{!!trans('home.title')!!}</a>
        </li>
        <li>
            <a href="{{ url('/admin/archives')}}">{!!trans('archives.title')!!}</a>
        </li>
        <li class="active">
            <strong>{!!trans('archives.edit_title')!!}</strong>
        </li>
    </ol>
  </div>
    <div class="col-sm-2">
    <div class="title-action">
      <a class="btn btn-white" href="{{ url('/admin/archives') }}"><i class="fa fa-reply"></i>  {!!trans('common.cancel')!!}</a>
    </div>
  </div>
</div>
<div id="login-form">
    <div class="logo">
        <img id="logo" src="{{asset(getThemeAssets('img/logo2.png'))}}">
    </div>
    <div class="row">
    <div class="col-sm-8 col-sm-offset-2 col-lg-8 col-lg-offset-2">
        <form method="post" action="" class="form-horizontal">
            {{csrf_field()}}
            <div class="form-group">
              <label class="col-sm-3 control-label">{{trans('archives.edit_name')}}</label>
              <div class="col-sm-9">
                <input type="text" class="form-control" name="name" value="" placeholder=""> 
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">{{trans('archives.edit_award_name')}}</label>
              <div class="col-sm-9">
                <input type="text" class="form-control" name="name" value="" placeholder=""> 
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">{{trans('archives.edit_time')}}</label>
              <div class="col-sm-9">
                <input type="text" class="form-control" name="" value="" placeholder=""> 
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">{{trans('archives.edit_award_img')}}</label>
              <div class="col-sm-9">
                <input type="password" class="form-control" name="" value="" placeholder="">
                <span class="help-block text-warning m-b-none">{{trans('archives.img_info')}}</span>
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-4 col-sm-offset-2">
                  <a class="btn btn-white" href="{{ url('/admin/archives') }}">{!!trans('common.cancel')!!}</a>
                  @if(haspermission('usercontroller.update'))
                  <button class="btn btn-primary" type="submit">{!!trans('common.edit')!!}</button>
                  @endif
              </div>
            </div>
          </form>

    </div>
  </div>
</div>
                        

@endsection
@section('js')
<script type="text/javascript">
  
</script>
@endsection